package com.dyzs.domain;

import java.io.Serializable;

import android.content.ContentValues;

public class PlanMember implements Serializable{
	
	
	
	private static final long serialVersionUID = 2L;
	private String memberId;
	private String memberName;
	private String memberSex;
	private String memberType;
	private String memeberCard;
	private String memeberTel;
	private String memeberRemark;
	private String planId;
	private String userId;
	
	public PlanMember() {
		super();
	}
	
	
	
	public String getMemberId() {
		return memberId;
	}



	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}



	public String getMemberName() {
		return memberName;
	}



	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}



	public String getMemberSex() {
		return memberSex;
	}



	public void setMemberSex(String memberSex) {
		this.memberSex = memberSex;
	}



	public String getMemberType() {
		return memberType;
	}



	public void setMemberType(String memberType) {
		this.memberType = memberType;
	}



	public String getMemeberCard() {
		return memeberCard;
	}



	public void setMemeberCard(String memeberCard) {
		this.memeberCard = memeberCard;
	}



	public String getMemeberTel() {
		return memeberTel;
	}



	public void setMemeberTel(String memeberTel) {
		this.memeberTel = memeberTel;
	}



	public String getMemeberRemark() {
		return memeberRemark;
	}



	public void setMemeberRemark(String memeberRemark) {
		this.memeberRemark = memeberRemark;
	}



	public String getPlanId() {
		return planId;
	}



	public void setPlanId(String planId) {
		this.planId = planId;
	}



	public String getUserId() {
		return userId;
	}



	public void setUserId(String userId) {
		this.userId = userId;
	}



	public ContentValues getContentValues(){
		ContentValues values = new ContentValues();
		//想该对象当中插入键值对，其中键是列名，值是希望插入到这一列的值，值必须和数据库当中的数据类型一致
		values.put("plan_id", this.getPlanId());
		values.put("user_id", this.getUserId());
		values.put("members_id", this.getMemberId());
		values.put("members_name", this.getMemberName());
		values.put("members_type", this.getMemberType());
		values.put("members_sex", this.getMemberSex());
		values.put("members_card", this.getMemeberCard());
		values.put("members_tel", this.getMemeberTel());	
		values.put("members_remark", this.getMemeberRemark());	
		return values;
	}
	
	
	
}
